<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<title>IGNORED</title>
</h:head>

<h:body>
	<ui:composition template="/WEB-INF/templates/MainLayout.xhtml">
		<ui:define name="windowTitle">search</ui:define>
		<ui:define name="content">
			<f:view contentType="text/html">

				<div class="bs-docs-section clearfix">
					<div class="row">
						<div class="col-lg-12">
							<h2>Results</h2>
							<div class="bs-component">
								<div class="list-group">
									<ui:repeat var="r" value="#{search.results}">
										<a href="guide.xhtml?guideid=#{r.guideid}"
											class="list-group-item">
											<h4 class="list-group-item-heading">#{r.title}</h4>
											<p class="list-group-item-text"> Donec id elit non mi
												porta gravida at eget metus. Maecenas sed diam eget risus
												varius blandit.</p>
												<img src="#{r.image.thumbnail}" alt="#{r.title}" /> 
											<br />
										</a>
									</ui:repeat>
								</div>
							</div>
						</div>
					</div>
				</div>


			</f:view>
		</ui:define>
	</ui:composition>
</h:body>
</html>
